package com.blackink.mapper;

import com.blackink.pojo.Dept;
import com.blackink.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface RoleMapper {
    List<String> queryRoleKeyByUserId(Integer userId);

    List<Role> queryRoleList();

    List<Role> selectRoleList(
            @Param("roleName") String roleName,
            @Param("roleKey") String roleKey,
            @Param("startTime")String startTime,
            @Param("endTime")String endTime);
}
